package com.n9.qq.android.login;

import java.security.PrivateKey;

/**
 * ecdh共享key
 * @author ice
 * @since 2019/1/29 16:50
 */
public class ShareKey {
    /**
     * 客户端公钥
     */
    private byte[] clientPubKey;
    /**
     * 共享的teaKey
     */
    private byte[] shareTeaKey;
    /**
     * 客户端私钥
     */
    private PrivateKey privateKey;

    public ShareKey(byte[] clientPubKey, byte[] shareTeaKey, PrivateKey privateKey) {
        this.clientPubKey = clientPubKey;
        this.shareTeaKey = shareTeaKey;
        this.privateKey = privateKey;
    }

    public byte[] getClientPubKey() {
        return clientPubKey;
    }

    public void setClientPubKey(byte[] clientPubKey) {
        this.clientPubKey = clientPubKey;
    }
    public byte[] getShareTeaKey() {
        return shareTeaKey;
    }

    public void setShareTeaKey(byte[] shareTeaKey) {
        this.shareTeaKey = shareTeaKey;
    }

    public PrivateKey getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(PrivateKey privateKey) {
        this.privateKey = privateKey;
    }
}
